using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ChiPhiDaoTaoService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: ChiPhiDaoTaoService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class ChiPhiDaoTaoService : IChiPhiDaoTaoService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: ChiPhiDaoTao_ID</para>
		/// <para>Output: ChiPhiDaoTaoEntity</para>
		///</summary>
		public ChiPhiDaoTaoEntity SelectOne(int ChiPhiDaoTao_ID){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.SelectOne(ChiPhiDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ChiPhiDaoTaoEntity</para>
		///</summary>
		public List<ChiPhiDaoTaoEntity> SelectAll(){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ChiPhiDaoTaoEntity</para>
		///</summary>
		public List<ChiPhiDaoTaoEntity> SelectAllFilter(string strFilter){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: ChiPhiDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(ChiPhiDaoTaoEntity o){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: ChiPhiDaoTaoEntity</para>
		/// <para>Output: ChiPhiDaoTaoEntity</para>
		///</summary>
		public ChiPhiDaoTaoEntity SaveRet(ChiPhiDaoTaoEntity o){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of ChiPhiDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<ChiPhiDaoTaoEntity> list){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of ChiPhiDaoTaoEntity</para>
		/// <para>Output: List of ChiPhiDaoTaoEntity</para>
		///</summary>
		public List<ChiPhiDaoTaoEntity> SaveListRet(List<ChiPhiDaoTaoEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: ChiPhiDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(ChiPhiDaoTaoEntity o){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of ChiPhiDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<ChiPhiDaoTaoEntity> list){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateChuongTrinhDaoTao_ID</para>
		/// <para>Input: NewChuongTrinhDaoTao_ID,ChiPhiDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateChuongTrinhDaoTao_ID(int NewChuongTrinhDaoTao_ID,int ChiPhiDaoTao_ID){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.UpdateChuongTrinhDaoTao_ID(NewChuongTrinhDaoTao_ID,ChiPhiDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNamThu</para>
		/// <para>Input: NewNamThu,ChiPhiDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNamThu(int NewNamThu,int ChiPhiDaoTao_ID){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.UpdateNamThu(NewNamThu,ChiPhiDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateHocKy_ID</para>
		/// <para>Input: NewHocKy_ID,ChiPhiDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateHocKy_ID(int NewHocKy_ID,int ChiPhiDaoTao_ID){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.UpdateHocKy_ID(NewHocKy_ID,ChiPhiDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateKhoanTien_ID</para>
		/// <para>Input: NewKhoanTien_ID,ChiPhiDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateKhoanTien_ID(int NewKhoanTien_ID,int ChiPhiDaoTao_ID){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.UpdateKhoanTien_ID(NewKhoanTien_ID,ChiPhiDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSoTien</para>
		/// <para>Input: NewSoTien,ChiPhiDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSoTien(Decimal NewSoTien,int ChiPhiDaoTao_ID){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.UpdateSoTien(NewSoTien,ChiPhiDaoTao_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: ChiPhiDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(ChiPhiDaoTaoEntity o){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: ChiPhiDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int ChiPhiDaoTao_ID){
			ChiPhiDaoTaoDAO dao = new ChiPhiDaoTaoDAO();
			return dao.DeleteByID(ChiPhiDaoTao_ID);
		}
		#endregion

		#region Select join to ChuongTrinhDaoTaoHocKyKhoanTien functions
		#endregion

		#region Select join to ChuongTrinhDaoTao functions
		#endregion

		#region Select join to HocKy functions
		#endregion

		#region Select join to KhoanTien functions
		#endregion

		#region Select,delete by ChiPhiDaoTao_ID functions
		#endregion

		#region Select,delete by ChuongTrinhDaoTao_ID functions
		#endregion

		#region Select,delete by HocKy_ID functions
		#endregion

		#region Select,delete by KhoanTien_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END ChiPhiDaoTaoWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

